﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SpaceMan.Entities.Attachments
{
    abstract class I_Effect : IC_ATT_Attachment
    {

        virtual public void UserInput1()
        {
        }

        virtual public void UserInput2()
        {
        }

        virtual public void UserInput3()
        {
        }

        virtual public void UserInput4()
        {
        }

        public void Update()
        {
            EffectUpdate();
        }

        abstract protected void EffectUpdate();

        protected abstract void EffectDraw(Microsoft.Xna.Framework.Graphics.SpriteBatch spriteBatch, DrawMode drawMode, Microsoft.Xna.Framework.Rectangle DrawSpace);

        public override void Draw(Microsoft.Xna.Framework.Graphics.SpriteBatch spriteBatch, DrawMode drawMode, Microsoft.Xna.Framework.Rectangle DrawSpace)
        {
            EffectDraw(spriteBatch, drawMode, DrawSpace);
        }
    }
}
